Skip to content

Add collapsible diff file headers#321

Merged
BunsDev merged 1 commit into
mainfrom
okcode/collapsible-diff-pages
Apr 7, 2026
Merged

Add collapsible diff file headers#321
BunsDev merged 1 commit into
mainfrom
okcode/collapsible-diff-pages

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@BunsDev BunsDev commented Apr 7, 2026

Summary

  • Add collapsible file headers to the diff panel so each file can be expanded or collapsed independently.
  • Show file change type badges and accepted state directly in the header, with quick actions to accept or open a file in the editor.
  • Update the code viewer action bar so discard is only shown for dirty tabs and refine save/discard button styling.

Testing

  • Not run (per request).
  • Visual check the diff panel header interactions for collapse/expand, accept, and editor open behavior.
  • Verify dirty code tabs still show Discard while clean tabs do not.

- Collapse individual file diffs behind expandable headers
- Show file status badges and accepted state in the diff list
- Auto-collapse accepted files and keep the selected file visible
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 7, 2026 2:41am
v0-compute-the-platform-to-build Ready Ready Preview, Open in v0 Apr 7, 2026 2:41am

@github-actions github-actions Bot added size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Apr 7, 2026
@BunsDev BunsDev merged commit fbe55c9 into main Apr 7, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant